package com.lagou.edu.service;

import com.lagou.edu.pojo.User;

/**
 * Created by Heweipo on 2021/2/15.
 */
public interface UserService {

    User getOne(Long id);

    boolean isExistByEmail(String email);

    User findOneByEmailAndPwd(String email, String pwd);

    User saveUser(User user);
}
